package com.manager.zq.mapper;


import com.manager.model.SellerRecord;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

import java.util.List;

@Mapper
public interface SellerDao {
    @Select("select id as sellerId,name as sellerName from user where role=1")
    public List<SellerRecord> getAllSellers();
}
